package kamikaze.service;

import java.util.logging.Level;
import java.util.logging.Logger;


public class ExceptionUtil {

	private static final Logger logger = Logger.getLogger(ExceptionUtil.class.getName());
	
	public static void logIfNecessary(Throwable th) {
		
		if(!(th instanceof BusinessException)) {
			logger.log(Level.WARNING, "", th);
		}
	}
}
